package com.xpsoft.oa.model.project;


import java.util.HashSet;
import java.util.Set;

import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.FileAttach;

/**
 * DesignChangeInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class DesignChangeInfo extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected DesignChange designChange;
	@Expose
	protected String fileNo;
	@Expose
	protected String eventDesc;
	@Expose
	protected String remark;
	protected String fileIds;
	@Expose
	protected Set<FileAttach> fileAttachs = new HashSet<FileAttach>();
	/**
	 * Default Empty Constructor for class DesignChangeInfo
	 */
	public DesignChangeInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class DesignChangeInfo
	 */
	public DesignChangeInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public DesignChange getDesignChange() {
		return designChange;
	}

	public void setDesignChange(DesignChange designChange) {
		this.designChange = designChange;
	}

	public String getFileIds() {
		return fileIds;
	}

	public void setFileIds(String fileIds) {
		this.fileIds = fileIds;
	}

	public Set<FileAttach> getFileAttachs() {
		return fileAttachs;
	}

	public void setFileAttachs(Set<FileAttach> fileAttachs) {
		this.fileAttachs = fileAttachs;
	}

	/**
	 * 文件编号	 * @return String
	 * @hibernate.property column="fileNo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getFileNo() {
		return this.fileNo;
	}
	
	/**
	 * Set the fileNo
	 */	
	public void setFileNo(String aValue) {
		this.fileNo = aValue;
	}	

	/**
	 * 事件描述	 * @return String
	 * @hibernate.property column="eventDesc" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getEventDesc() {
		return this.eventDesc;
	}
	
	/**
	 * Set the eventDesc
	 */	
	public void setEventDesc(String aValue) {
		this.eventDesc = aValue;
	}	

	/**
	 * 备注	 * @return String
	 * @hibernate.property column="remark" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * Set the remark
	 */	
	public void setRemark(String aValue) {
		this.remark = aValue;
	}	

}
